package com.yongan.production.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.production.entity.ProductionPlan;

public interface ProductionPlanDao {

	ProductionPlan queryById(String productionPlanId);
	
	List<ProductionPlan> queryAll(@Param("offset")int offset,@Param("limit")int limit);
	
	int insertProductionPlan(ProductionPlan productionPlan);
	
	int deleteProductionPlan(String productionPlanId);
	
	int updateProductionPlan(ProductionPlan productionPlan);
	
	int queryCount();
	
	int updateLingLiao(@Param("productionPlanIsll")String productionPlanIsll,@Param("productionPlanId")String productionPlanId);
}
